package com.zjgsu.nftplatform.service;

import com.github.pagehelper.PageInfo;
import com.zjgsu.nftplatform.pojo.*;

public interface UserService {
    LoginInfo passwordLogin(String username, String password);

    UserInfo userInfo(Long userId);

    Integer settingInfo(String img, String name, String signature, String phone, Boolean certification);

    NftView nftView(Long nftId);

    String nftCreate(CreateNftInfo info);

    void nftUpdate(Long nftId, String img, String name, String description, String attribute);

    PageInfo<ArtFollow> artFollow(Long pageNum, Long pageSize);

    PageInfo<CreatorFollow> creatorFollow(Long pageNum, Long pageSize);

    PageInfo<Fan> fans(Long pageNum, Long pageSize);

    void createUser(CreateUserInfo info);

    void certificate();

    PageInfo<NftView> getNft(Long userId, Integer pageNum, Integer pageSize);

    PageInfo<ArtsManage> userGoods(Long userId, Integer pageNum, Integer pageSize);
}
